//
//  MLAEateryManageSalesCell.m
//  MagicLampApp
//
//  Created by Zheng on 2018/12/30.
//  Copyright © 2018 zheng.magic.lamp.app. All rights reserved.
//

#import "MLAEateryManageSalesCell.h"

@implementation MLAEateryManageSalesCell {
    UILabel *titleLbl;
    UILabel *moneyLbl;
}


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        titleLbl = [[UILabel alloc] init];
        titleLbl.font = CX_GetNormalFont(12);
        titleLbl.textColor = CX_GetColorTitle();
        titleLbl.text = @"黄焖鸡米饭 x1";
        [self.contentView addSubview:titleLbl];
        [titleLbl mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(15);
            make.centerY.equalTo(self);
        }];
        
        moneyLbl = [[UILabel alloc] init];
        moneyLbl.font = CX_GetNormalFont(14);
        moneyLbl.textColor = CX_GetColorHex(0xD8463F, 1);
        moneyLbl.text = @"￥36.00";
        [self.contentView addSubview:moneyLbl];
        [moneyLbl mas_makeConstraints:^(MASConstraintMaker *make) {
            make.right.mas_equalTo(-15);
            make.centerY.equalTo(self);
        }];
        
    }
    return self;
}



@end
